﻿@using QG.FrontDesk.Model;
@{
    var cityinfos = ViewBag.cityinfos as List<Cityinfo>;    //获取所有城市并显示到下拉框
    var industries = ViewBag.industries as List<Industry>;  //获取所有行业领域并显示到下拉框
    var developments = ViewBag.developments as List<DevelopmentPhase>;  //获取所有公司发展阶段并显示到下拉框
    var company = ViewBag.company as Company;
}
<!DOCTYPE HTML>
<html xmlns:wb="http://open.weibo.com/wb">
<head>
    <script type="text/javascript" async="" src="~/style/js/conversion.js"></script>
    <script src="~/style/js/allmobilize.min.js" charset="utf-8" id="allmobilize"></script>
    <style type="text/css"></style>
    <meta content="no-siteapp" http-equiv="Cache-Control">
    <link media="handheld" rel="alternate">
    <!-- end 云适配 -->
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <title>基本信息-招聘服务-1024网-最专业的互联网招聘平台</title>
    <meta content="23635710066417756375" property="qc:admins">
    <meta name="description" content="1024网是3W旗下的互联网领域垂直招聘网站,互联网职业机会尽在1024网">
    <meta name="keywords" content="1024,1024网,1024招聘,拉钩, 拉钩网 ,互联网招聘,1024互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 1024官网, 1024百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招">
    <meta content="QIQ6KC1oZ6" name="baidu-site-verification">

    <!-- <div class="web_root"  style="display:none">http://www.lagou.com</div> -->
    <script type="text/javascript">var ctx = "https://www.lagou.com"</script>
    <link href="https://www.lagou.com/images/favicon.ico" rel="Shortcut Icon">
    <link href="~/style/css/style.css" type="text/css" rel="stylesheet">
    <link href="~/style/css/external.min.css" type="text/css" rel="stylesheet">
    <link href="~/style/css/popup.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="~/style/js/jquery.1.10.1.min.js"></script>
    <link href="~/layui/css/layui.css" rel="stylesheet" />
    <script src="~/style/js/jquery.lib.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="~/style/js/ajaxfileupload.js"></script>
    <script src="~/style/js/additional-methods.js" type="text/javascript"></script>
    <!--[if lte IE 8]>
        <script type="text/javascript" src="~/style/js/excanvas.js"></script>
    <![endif]-->
    <script type="text/javascript">var youdao_conv_id = 271546;</script>
    <script src="~/style/js/conv.js" type="text/javascript"></script>
    <script src="~/style/js/ajaxCross.json" charset="UTF-8"></script>
    @*<script src="~/style/js/sub.min.js"></script>*@
    <script src="~/layui/layui.js"></script>
</head>
<body>
    <div id="body">
        <div id="header">
            <div class="wrapper">
                <a class="logo" href="/Home/Index">
                    <img width="229" height="43" alt="1024招聘-专注互联网招聘" src="~/style/images/logo.png">
                </a>
                <ul id="navheader" class="reset">
                    <li><a href="/Home/Index">首页</a></li>
                    <li class="current"><a href="/Company/Companylist">公司</a></li>
                    <li><a target="_blank" href="">论坛</a></li>                    
                </ul>
                <dl class="collapsible_menu">
                    <dt>
                        <span>@company.CompanyEmail&nbsp;</span>
                        <span class="red dn" id="noticeDot-1"></span>
                        <i></i>
                    </dt>
                    <dd class="btm"><a href="/Company/CompanyDetails">我的公司主页</a></dd>
                    <dd class="logout"><a rel="nofollow" href="/Login/Login">退出</a></dd>
                </dl>
            </div>
        </div><!-- end #header -->
        <div id="container">

            <div style="" id="stepTip">
                <a></a>
                <img width="803" height="59" src="~/style/images/tiponce.jpg">
            </div>
            <div class="content_mid">
                <dl class="c_section c_section_mid">
                    <dt>
                        <h2><em></em>填写公司信息</h2>
                    </dt>
                    <dd>
                        <form id="stepForm">
                            <div class="c_text_1">基本信息为必填项，是求职者加速了解公司的窗口，认真填写吧！</div>
                            <img width="668" height="56" class="c_steps" alt="第一步" src="~/style/images/step1.png">

                            <h3>公司全称 <span>@company.ComFullName</span></h3>

                            <h3>公司简称</h3> <!--非必填-->
                            <input type="text" placeholder="请输入公司简称，如:1024" value="" name="name" id="name" class="valid">

                            <h3>公司LOGO</h3> <!--非必填改必填-->
                            <div class="c_logo c_logo_pos">
                                <div id="logoNo" class="layui-upload-drag">
                                    <span>上传公司LOGO</span> <br>
                                    尺寸：190*190px  <br>
                                    大小：小于5M
                                </div>
                                <div class="dn" id="logoShow">
                                    <img width="190" height="190" class="layui-upload-img" alt="公司logo" src="">
                                    <span>更换公司LOGO<br>190px*190px 小于5M</span>
                                </div>
                                </a>
                            </div>

                            <h3>公司网址</h3>
                            <input type="text" placeholder="请输入公司网址" value="" name="website" id="website">

                            <h3>所在城市</h3>
                            <input type="hidden" id="select_city_hidden" name="industryField" value="" />
                            <input type="button" class="select" id="select_city" value="请选择工作地点" />
                            <div id="box_city" class="dn" style="display: none;">
                                <ul class="reset">
                                    @foreach (var itam in cityinfos)
                                    {
                                        <li name="@itam.CityId">@itam.CityName</li>
                                    }
                                </ul>
                            </div>
                            <span id="fieldError" class="error" style="display:none;">工作地点 </span>

                            <h3>行业领域</h3>
                            <div>
                                <input type="hidden" value="" name="select_industry_hidden" id="select_industry_hidden">
                                <input type="button" value="请选择行业领域" name="select_industry" id="select_industry" class="select">
                                <div class="dn" id="box_industry" style="display: none;">
                                    <ul class="reset">
                                        @foreach (var item in industries)
                                        {
                                            <li name="@item.IndustryId">@item.IndustryName</li>
                                        }
                                    </ul>
                                </div>
                            </div>

                            <h3>公司规模</h3>
                            <div>
                                <input type="hidden" value="" name="select_scale_hidden" id="select_scale_hidden">
                                <input type="button" value="请选择公司规模" id="select_scale" class="select">
                                <div class="dn" id="box_scale" style="display: none;">
                                    <ul class="reset">
                                        <li class="0">少于15人</li>
                                        <li class="1">15-50人</li>
                                        <li class="2">50-150人</li>
                                        <li class="3">150-500人</li>
                                        <li class="4">500-2000人</li>
                                        <li class="5">2000人以上</li>
                                    </ul>
                                </div>
                            </div>

                            <h3>发展阶段</h3>
                            <div>
                                <input type="hidden" id="s_radio_hidden" name="s_radio_hidden" value="">
                                <ul class="s_radio clearfix s_radio_ex">
                                    @foreach (var item in developments)
                                    {
                                        <li name="@item.PhaseId">@item.PhaseName</li>
                                    }
                                </ul>
                            </div>

                            <h3>投资机构</h3>
                            <ul id="stagesList" class="reset">
                                <li>
                                    <input type="hidden" class="select_invest_hidden" name="select_invest_hidden">
                                    <input type="button" value="请选择发展阶段" class="select_short select_invest">
                                    <div class="box_invest dn" style="display: none;">
                                        <ul class="reset">
                                            @foreach (var item in developments)
                                            {
                                                <li name="@item.PhaseId">@item.PhaseName</li>
                                            }
                                        </ul>
                                    </div>
                                    <input type="text" placeholder="请输入投资机构，如真格基金，创新工场" name="stageorg">
                                </li>
                            </ul>
                            <div class="dn" id="cloneInvest">
                                <input type="hidden" class="select_invest_hidden" name="select_invest_hidden">
                                <input type="button" value="请选择发展阶段" class="select_short select_invest">
                                <div class="box_invest dn">
                                    <ul class="reset">
                                        @foreach (var item in developments)
                                        {
                                            <li name="@item.PhaseId">@item.PhaseName</li>
                                        }
                                    </ul>
                                </div>
                                <input type="text" placeholder="请输入投资机构，如真格基金，创新工场" name="stageorg">
                            </div>

                            <h3>一句话介绍</h3>
                            <input type="text" placeholder="一句话概括公司亮点，如公司愿景、领导团队等，限50字" maxlength="50" name="temptation" id="temptation">
                            <span style="display:none;" class="error" id="beError"></span>
                            <input type="submit" value="保存，下一步" id="stepBtn" class="btn_big fr">
                        </form>
                    </dd>
                </dl>
            </div>



            <script src="../../style/js/step1.min.js" type="text/javascript"></script>

            <div class="clear"></div>
            <input type="hidden" value="13ae35fedd9e45cdb66fb712318d7369" id="resubmitToken">
            <a rel="nofollow" title="回到顶部" id="backtop" style="display: none;"></a>
        </div><!-- end #container -->
    </div><!-- end #body -->
    <div id="footer">
        <div class="wrapper">
            <a rel="nofollow" target="_blank" href="/Home/About">联系我们</a>
            <a target="_blank" href="http://www.lagou.com/af/zhaopin/Home/Reset">互联网公司导航</a>
            <a rel="nofollow" target="_blank" href="http://e.weibo.com/lagou720">1024招聘微博</a>
            <a rel="nofollow" href="javascript:void(0)" class="footer_qr">1024招聘微信<i></i></a>
            <div class="copyright">&copy;2013-2014  1024<a href="http://www.miitbeian.gov.cn/state/outPortal/loginPortal.action" target="_blank">京ICP备14023790号-2</a></div>
        </div>
    </div>

    <script src="~/style/js/core.min.js" type="text/javascript"></script>
    <script src="~/style/js/popup.min.js" type="text/javascript"></script>

    <!--  -->


    <script type="text/javascript">

        //限制行业领域只能选一个
        $("#box_industry li").click(function () {
            if ($("#box_industry li.current").length >= 1) {
                $("#box_industry li.current").removeClass("current");
            }
        })


        //上传logo
        layui.use(['upload', 'layer', 'jquery'], function () {
            var $ = layui.jquery,
                layer = layui.layer,
                upload = layui.upload;

            //拖拽上传
            upload.render({
                elem: '#logoNo,#logoShow'
                , headers: { token: 'sasasas' }
                , url: "/FileUpload/UploadImage"
                , before: function (obj) {
                    //预读本地文件示例，不支持ie8
                    obj.preview(function (index, file, result) {
                        $("#logoShow>img").attr("src", result);
                    });
                }
                , done: function (res) {
                    //如果上传失败
                    if (res.code > 0) {
                        return layer.msg('上传失败');
                    } else {
                        $("#logoNo").hide();
                        $("#logoShow").show();
                        $("#logoShow>img").attr("src", res.Url);
                        return layer.msg('上传成功');
                        //return layer.msg(res.data.Data.Path);路径
                    }
                    //上传成功
                }
                , error: function () {
                    //演示失败状态，并实现重传
                    var demoText = $('#test10');
                    demoText.html('<span style="color: #FF5722;">上传失败</span> <a class="layui-btn layui-btn-xs demo-reload">重试</a>');
                    demoText.find('.demo-reload').on('click', function () {
                        uploadInst.upload();
                    });
                }
            })
        })
        var ComScale;
        //获取公司规模
        $("#box_scale ul>li").click(function () {
            ComScale = $(this).attr("class");
        })


        
        $("#stagesList>li .reset>li").click(function () {
            alert($(this).attr("name"));
        });           

    </script>

    <div id="colorbox" class="" role="dialog" tabindex="-1" style="display: none;"><div id="cboxWrapper"><div><div id="cboxTopLeft" style="float: left;"></div><div id="cboxTopCenter" style="float: left;"></div><div id="cboxTopRight" style="float: left;"></div></div><div style="clear: left;"><div id="cboxMiddleLeft" style="float: left;"></div><div id="cboxContent" style="float: left;"><div id="cboxTitle" style="float: left;"></div><div id="cboxCurrent" style="float: left;"></div><button type="button" id="cboxPrevious"></button><button type="button" id="cboxNext"></button><button id="cboxSlideshow"></button><div id="cboxLoadingOverlay" style="float: left;"></div><div id="cboxLoadingGraphic" style="float: left;"></div></div><div id="cboxMiddleRight" style="float: left;"></div></div><div style="clear: left;"><div id="cboxBottomLeft" style="float: left;"></div><div id="cboxBottomCenter" style="float: left;"></div><div id="cboxBottomRight" style="float: left;"></div></div></div><div style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div></div>
</body>
</html>
